package top.codedance.iotp.iot.sdk.po.async;

import com.alibaba.fastjson.JSON;

public class MessageParam extends CommonParam {
    private JSON body;

    public MessageParam(){}

    public MessageParam(CommonParam commonParam){
        super(commonParam.getUsername(), commonParam.getPassword(), commonParam.getDeviceId(), commonParam.getInstance());
    }

    public JSON getBody() {
        return body;
    }

    public void setBody(JSON body) {
        this.body = body;
    }
}
